package org.example.greenhouse.dao;

import org.example.greenhouse.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User, String> {
    // 根据账号查找用户
    User findByAccount(String account);
}